﻿using System;
using System.Collections.Generic;

namespace Pixster.Models
{
    [Serializable]
    public class PixPhoto
    {
        public string FileName { get; set; }
        public string SeoName { get; set; }
        public string VirtualPath { get; set; }
        public string DirectoryPath { get; set; }
        public string Title { get; set; }
        public string Comment { get; set; }
        public List<string> Tags { get; set; }

        public string FullPath
        {
            get { return AppHelper.PhotoUrl(VirtualPath, FileName); }
        }

        public string ThumbPath
        {
            get { return AppHelper.ThumbUrl(VirtualPath, FileName); }
        }

        public string DisplayImagePath
        {
            get { return AppHelper.DisplayImageUrl(VirtualPath, FileName); }
        }
    }
}